Skip to content

updated .gitignore with some new files and paths#35

Open
hamid-m331 wants to merge 1 commit intodevopshobbies:mainfrom
hamid-m331:improve-terraform-files
Open

updated .gitignore with some new files and paths#35
hamid-m331 wants to merge 1 commit intodevopshobbies:mainfrom
hamid-m331:improve-terraform-files

Conversation

@hamid-m331
Copy link
Copy Markdown

Hi Babak!

I've updated the .gitignore file to make it more comprehensive and aligned with modern Terraform best practices.

Key changes include:

  • Security & Cleanliness: Added patterns to ignore sensitive files like .terraform.rc and log files (terraform.log).
  • Tool Support: Included paths for popular community tools such as Infracost (.infracost) and Terragrunt (.terragrunt-cache/).
  • State Safety: Grouped and simplified the .tfstate patterns to ensure sensitive state files aren't accidentally committed.
  • General Housekeeping: Added rules for OS-specific files (.DS_Store) and common editor backup files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant